package org.hentai.bt.scan.paramter;

import org.hentai.bt.scan.table.ClassScan;

/**
 * 包扫描对应属性
 */
public class ScanParameter {

    private String classPath = ClassScan.class.getResource("/").getPath();

    private String packageName;

    public ScanParameter() {
    }

    public ScanParameter(String packageName) {
        this.packageName = packageName;
    }

    public ScanParameter(String packageName, String classPath) {
        this.classPath = classPath;
        this.packageName = packageName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        if (classPath != null && !classPath.equals("")) {
            this.classPath = classPath;
        }
    }

}
